File Info


File Info

The File Info window is used to set the attributes of a File script item. This window is opened when a new File item is created from Script:New Item:File. It is also opened when a File item is selected and Script:Edit Item... is chosen.

The File Info window contains the following items:

If file is found
This popup menu presents a list of choices for handling the situation where a file with the same name is found within the current install folder on the user's disk.
If file is not found
This popup menu presents a list of choices for handling the situation where a file with the same name is not found within the current install folder on the user's disk.
Make alias after installation
This setting allows you to automatically create an alias file from the file that is installed. If the file is not installed for any reason (e.g. system rules not met), then an alias is not created. Aliases are only supported by version 7.0 or later of the MacOS.
Where
This button allows you to specify the name and destination for the alias file. Clicking this button opens the Alias Info window where the name and destination can be set. Aliases can be created in a number of locations, including the user's Apple Menu Items folder and Desktop.
File Source
This setting allows you to specify whether a file should be installed from within the installer archive or from outside the archive. The advantage of installing a file from inside the archive is that less disk space is used because the file is compressed. The advantage of keeping files outside the archive is that the files are accessible to the user without needing to run the installer. This is especially useful for CD-ROM installations. If you set a file's source to "Outside Archive", the file will not be compressed into the installer application. You must make sure that you include this file on the installer disk at the location specified by the Source Path. If you do not do this, you will get a "file or folder is missing" error when running the installer.
Source Path
This entry field specifies the full or partial path for a file that is to be installed from outside the archive. This field is not available if the File Source is set to "Inside Archive".

A full pathname must begin with a disk name and end with a file name. In between are the folders that lead to the file. For example, the full pathname Data:MyProduct:DataFiles:MyData specifies a file named "MyData" on a disk named "Data" within a folder named "DataFiles" inside the "MyProduct" folder.

A partial pathname is similar to a full pathname except that a disk name is not required. The partial path is considered to be relative to the location of the installer application. Using the example above, if the installer application were running from within the "My Product" folder on "Data", the partial path to the file would be :DataFiles:MyData. Note that a partial path must begin with a colon.

Attributes
This tab area allows you to set various attributes for the current item. These attributes include the following: For further details on these attribute categories, see the Attributes section of this guide.
Change
This button closes the window, saving any changes. When an item is first created, this button is named Create.
Cancel
This button closes the window, canceling any changes.
Delete
This button deletes the current item from the script. When an item is first created, this button is not available.

[Contents | Contact Information]

Last modified 26-MAR-96
Copyright © 1996 Ray Sauers Associates, Inc.